<%@ include file="../common/IncludeTop.jsp"%>

<div id="Catalog"><spring:form action="${basepath}/order/newOrder" commandName="orderBean">

	<table>
		<tr>
			<th colspan=2>Payment Details</th>
		</tr>
		<tr>
			<td>Card Type:</td>
			<td><spring:select path="order.cardType">
				<spring:options items="${creditCardTypes}" />
			</spring:select></td>
		</tr>
		<tr>
			<td>Card Number:</td>
			<td><spring:input path="order.creditCard" /> * Use a fake
			number!</td>
		</tr>
		<tr>
			<td>Expiry Date (MM/YYYY):</td>
			<td><spring:input path="order.expiryDate" /></td>
		</tr>
		<tr>
			<th colspan=2>Billing Address</th>
		</tr>

		<tr>
			<td>First name:</td>
			<td><spring:input path="order.billToFirstName" /></td>
		</tr>
		<tr>
			<td>Last name:</td>
			<td><spring:input path="order.billToLastName" /></td>
		</tr>
		<tr>
			<td>Address 1:</td>
			<td><spring:input size="40" path="order.billAddress1" /></td>
		</tr>
		<tr>
			<td>Address 2:</td>
			<td><spring:input size="40" path="order.billAddress2" /></td>
		</tr>
		<tr>
			<td>City:</td>
			<td><spring:input path="order.billCity" /></td>
		</tr>
		<tr>
			<td>State:</td>
			<td><spring:input size="4" path="order.billState" /></td>
		</tr>
		<tr>
			<td>Zip:</td>
			<td><spring:input size="10" path="order.billZip" /></td>
		</tr>
		<tr>
			<td>Country:</td>
			<td><spring:input size="15" path="order.billCountry" /></td>
		</tr>

		<tr>
			<td colspan=2><spring:checkbox path="shippingAddressRequired" />
			Ship to different address...</td>
		</tr>

	</table>

	<input type="submit" name="newOrder" value="Continue" />

</spring:form></div>

<%@ include file="../common/IncludeBottom.jsp"%>